package edu.xust.entity;

import java.io.Serializable;
//pojo 简单的java对象  私有的成员变量  除了构造方法与getter setter没有其它的业务逻辑方法 javabean
public class Student implements Serializable {
    private String sno;
    private String sex;
    private String name;
    private Integer high;

    public Student() {
    }

    public Student(String sno, String sex) {
        this.sno = sno;
        this.sex = sex;
    }

    public Student(String sno, String sex, String name, Integer high) {
        this.sno = sno;
        this.sex = sex;
        this.name = name;
        this.high = high;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getHigh() {
        return high;
    }

    public void setHigh(Integer high) {
        this.high = high;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sno='" + sno + '\'' +
                ", sex='" + sex + '\'' +
                ", name='" + name + '\'' +
                ", high=" + high +
                '}';
    }
}
